package com.huike.review.service;

import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {

    String saveData(String name,int age,String sex);

    String saveDataPojo(MybatisReviewVO mybatisReviewVO);

    String remove(Long id);

    String update(MybatisReviewVO mybatisReviewVO);

    Review getById(Long id);

    List<Review> getByPage();



}
